<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
       function sum(){
            console.log(typeof arguments);
            console.log(arguments);

            let temp=Array.from(arguments);
            temp.push('怎么会怎么会你竟原谅了我');
            console.log(typeof temp);
        }
        sum('久未放晴的天空','0.0',333,666,'书写你给的温柔');


        let obj={
            0:'蜀道难',
            1:'难于上青天',
            2:'君不见',
            3:'黄河之水天上来',
            4:'奔流到海不复回',
            length:5,
        }

        let result =Array.from(obj);
        console.log(obj);
        result.push('君不见高堂明镜悲白发');
        console.log(result);
    </script>
</body>
</html>